<%@ Page Language="C#" MasterPageFile="~/GUI/Webpage/MasterTunga.master" AutoEventWireup="true" CodeFile="FoodDetails.aspx.cs" Inherits="GUI_Webpage_FoodDetails" Title="FOOD DETAILS |TUNGA Restaurants" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="tdHolder" cellpadding="0" cellspacing="0">
     <tr>
                        <td>
                            <table cellpadding="2" cellspacing="0">
                                <tr> 
                                    <td colspan="2">
                                        <img src="../../GUI/Image/WebsiteTemplate/30-4/Title_Welcome.jpg" alt="Welcome" /></td>
                                </tr>
                                <tr>
                                    <td >
                                        <table align="right" class="tdTextContent" cellpadding="5" cellspacing="5">
                                            <tr>
                                                 <td>
                                                        <asp:DropDownList ID="drpTypeFood" runat="server" class="controlText" 
                                                        AutoPostBack="True" OnSelectedIndexChanged="drpTypeFood_SelectedIndexChanged">
                                                            <asp:ListItem>Select type of food</asp:ListItem>
                                                        </asp:DropDownList>
                                                 </td>
                                                  <td>
                                                        <asp:DropDownList ID="drpFood" runat="server"  
                                                        class="controlText" OnSelectedIndexChanged="drpFood_SelectedIndexChanged" 
                                                        AutoPostBack="True">
                                                            
                                                        </asp:DropDownList>
                                                 </td>
                                            </tr>
                                          
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdTextContent">
                                        <table class="TableOrderContent" cellpadding="10"; cellspacing="10">
                                             <tr>
                                            <td width="TableOrderContent">
                                                <asp:DetailsView ID="dtView" runat="server" AutoGenerateRows="False" 
                                                CellPadding="4" Width="600px" 
                                                BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px">
                                                <Fields>
                                                
                                                     <asp:ImageField DataImageUrlField="foodPicture">    
                                                      </asp:ImageField>
                                                      
                                                    <asp:BoundField DataField="foodID"
                                                        HeaderText = "FoodID: "
                                                        ReadOnly="True"    
                                                     />
                                                     <asp:BoundField 
                                                        DataField = "foodName"
                                                        HeaderText = "Food Name: "
                                                        ReadOnly = "True"
                                                     />
                                                      <asp:BoundField 
                                                        DataField = "numberOfPerson"
                                                        HeaderText = "Number of Person: "
                                                        ReadOnly = "True"
                                                     />
                                                     <asp:BoundField 
                                                        DataField = "price"
                                                        HeaderText = "Price($): "
                                                        ReadOnly = "True"
                                                     />
                                                     <asp:BoundField 
                                                        DataField = "foodDescription"
                                                        HeaderText = "Description: "
                                                        ReadOnly = "True"
                                                     />
                                                     
                                                </Fields>
                                                <EmptyDataTemplate> No information about this food! <br /> Update later!</EmptyDataTemplate>
                                                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                                                    <EditRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                                    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                                                    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                                                    <RowStyle BackColor="White" ForeColor="#003399" />
                                                    <FooterTemplate>
                                                        &nbsp;
                                                    </FooterTemplate>
                                                    <HeaderTemplate>
                                                        FOOD DETAILS
                                                    </HeaderTemplate>
                                                </asp:DetailsView>
                                               

                                            </td>
                                </tr>
                                        </table>
                                    </td>
                                </tr>
                </table>
                </td>
      </tr>
</table>
</asp:Content>

